var path = require('path');

module.exports = {
		entiry: './app.js',
		devtool: 'sourcemaps',
		cache: true,
		debug: true,
		output: {
			path: __dirname,
			filename: './built/bundle.js'
		},
		module:{
			loaders:[{
				test: path.join(__dirname,'.'),
				exclude: /(node_modules)/,
				loader: 'babel-loader'
			}]
		}
}